'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	const collection = db.collection(event.tableName)
	return await collection.doc(event.id).update({
		data: {
			pinglun: event.pinglun
		}
	})
};
